package com.softstao.guoyu.model.sale;

import java.io.Serializable;
import java.util.List;

/**
 * Created by vaikus on 2017/6/16.
 */

public class FromOrder implements Serializable{

    public static final int UNCONFIRM = 0;
    public static final int UNPAY = 1;
    public static final int PAYED = 2;
    public static final int STOCKING = 3;
    public static final int SHIPPED = 4;
    public static final int CANCEL = 5;
    public static final int REFUNDING = 6;
    public static final int REFUNDED = 7;
    public static final int COMPLETED = 8;

    /**
     * orderCode : 324354781234
     * orderDate : 时间戳
     * state : 1
     * formAgentName : 张三
     * formAgentMobile : 137000000001
     * total : 3250.0
     * orderProductList : [{"name":"果语冰淇淋机","img":"www.baidu.com/binqilingji.png","num":30,"price":145},{"name":"果语酸奶机","img":"www.baidu.com/suannaiji.png","num":20,"price":135}]
     */

    private String orderCode;
    private long orderDate;
    private int state;
    private String formAgentName;
    private String formAgentMobile;
    private float total;
    private String stateStr;
    private List<OrderGoods> orderProductList;
    /**
     *  isPay : 0
     */

    private int isPay;
    private String sourceCode;
    private String addrName;
    private String payWay;

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public long getOrderDate() {
        return orderDate;
    }

    public void setOrderDate(long orderDate) {
        this.orderDate = orderDate;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getFormAgentName() {
        return formAgentName;
    }

    public void setFormAgentName(String formAgentName) {
        this.formAgentName = formAgentName;
    }

    public String getFormAgentMobile() {
        return formAgentMobile;
    }

    public void setFormAgentMobile(String formAgentMobile) {
        this.formAgentMobile = formAgentMobile;
    }

    public float getTotal() {
        return total;
    }

    public void setTotal(float total) {
        this.total = total;
    }

    public List<OrderGoods> getOrderProductList() {
        return orderProductList;
    }

    public void setOrderProductList(List<OrderGoods> orderProductList) {
        this.orderProductList = orderProductList;
    }

    public int getIsPay() {
        return isPay;
    }

    public void setIsPay(int isPay) {
        this.isPay = isPay;
    }

    public String getStateStr() {
        return stateStr;
    }

    public void setStateStr(String stateStr) {
        this.stateStr = stateStr;
    }

    public String getSourceCode() {
        return sourceCode;
    }

    public void setSourceCode(String sourceCode) {
        this.sourceCode = sourceCode;
    }

    public String getAddrName() {
        return addrName;
    }

    public void setAddrName(String addrName) {
        this.addrName = addrName;
    }

    public String getPayWay() {
        return payWay;
    }

    public void setPayWay(String payWay) {
        this.payWay = payWay;
    }
}
